package org.example.factoryMethod;

/**
 * org.example.factoryMethod
 *
 * @author 莫磊
 * @description
 * @date 2025/7/20
 */
public class Gun extends Weapon{

    @Override
    public void attack() {
        System.out.println("开枪");
    }
}
